package com.itheima.chapter06.extends1.constructor;

public class Test2 {
    public static void main(String[] args) {

    }
}

class Fu{
    int age;

    /*public Fu() {
    }*/

    public Fu(int age) {
        this.age = age;
    }
}

class Zi extends Fu{
    public Zi(int age) {
        super(age);
    }
}